package com.lyf.shop.services;

import com.lyf.shop.entity.Address;

import java.sql.SQLException;
import java.util.List;

public interface AddressService {
    //获取地址数据
    List<Address> getAddressByUid(int uid);
    //新增地址
    int insertAddr(Address address);
    //删除地址
    int delAddr(int aid);
    //修改地址
    int updateAddr(Address address);
    //设置默认地址
    int changeAddrToCommons(int aid,int uid );
}
